package com.ums.scumspay.service;

import com.ums.scumspay.common.Resp;
import com.ums.scumspay.entity.PayOrder;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ums.scumspay.entity.resp.PayOrderPosResp;
import com.ums.scumspay.entity.resp.PayOrderReDataResp;

/**
* @author pengdeng
* @description 针对表【pay_order】的数据库操作Service
* @createDate 2023-09-04 14:43:18
*/
public interface PayOrderService extends IService<PayOrder> {

    /**
     * 传输交易信息接口-POS交易
     *
     * @param transDate
     * @return
     */
    Resp<PayOrderPosResp> getPosPayInfo(String transDate);

    /**
     * 订单信息接口-静态码交易
     * @param transDate
     * @return {@code Resp<PayOrderPosResp>}
     */
    Resp<PayOrderPosResp> getQrCodePayInfo(String transDate);

    /**
     * 传输每日对账文件（收款明细、退款明细）
     * @param transDate
     * @return {@code Resp<PayOrderReDataResp>}
     */
    Resp<PayOrderReDataResp> reconciliation(String transDate);

    void createFile();

}
